<?php

/** @var \Illuminate\Database\Eloquent\Factory $factory */

use App\Models\CarModels\EquipmentTaskKind;
use App\User;
use Illuminate\Support\Str;
use Faker\Generator as Faker;

/*
|--------------------------------------------------------------------------
| Model Factories
|--------------------------------------------------------------------------
|
| This directory should contain each of the model factory definitions for
| your application. Factories provide a convenient way to generate new
| model instances for testing / seeding your application's database.
|
*/

$factory->define(\App\Models\SystemManagement\Department::class, function (Faker $faker) {
    return [
        'mark' => $faker->numberBetween(1,10),
        'name' => $faker->firstName,
        'parent_id'=>0,
        'description'=>$faker->sentence(1),
        'full_name'=>$faker->sentence(1),
        'memo_code'=>$faker->numberBetween(1,5),
        'organization_id'=>$faker->numberBetween(1,5),
        'creator'=>$faker->name
    ];
});

